#ifndef __CK_LAND_COVER_30M_H__
#define __CK_LAND_COVER_30M_H__

#include "zCore.h"
#include "ckDataProduct.h"

#include <string>
#include <vector>

namespace ck
{
	namespace data
	{
		class Workspace;
		class EnumWorkspace;
	}

	namespace product
	{
		class ZCORE_API LandCover30 : public DataProduct
		{
		public:
			LandCover30();
			virtual ~LandCover30();

		public:
			static const char*		LC30_FILE_KEYS[];

		public:
			virtual	RESULTCODE		Open();
			virtual	bool			IsOpen();
			virtual	void			Close();
			virtual	void			SetPath(const char* szPath);
			virtual	const char*		GetPath();

			virtual data::EnumWorkspace*	GetWorkspaces();
			
		protected:
			void	LoadWorkspaces();
			void	Cleanup();

		protected:
			bool	m_bIsOpen;
			std::string m_strName;
			std::string m_strPath;

			std::vector<data::Workspace*>	m_workspaces;
		};
	}
}


#endif __CK_LAND_COVER_30M_H__
